# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notifyd
pkgver=0.6.3
pkgrel=0
pkgdesc="Notification daemon for the xfce desktop"
url="https://docs.xfce.org/apps/notifyd/"
arch="all"
license="GPL-2.0-or-later"
depends="hicolor-icon-theme"
makedepends="gtk+3.0-dev libxfce4util libxfce4ui-dev libsexy-dev xfconf-dev
	dbus-glib-dev libnotify-dev xfce4-panel-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="https://archive.xfce.org/src/apps/xfce4-notifyd/${pkgver%.*}/xfce4-notifyd-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install

	rm -rf "$pkgdir"/usr/lib/systemd
}

sha512sums="
9113018c238878c2584cb4221dd5aaaab9d8af5a86fb738f8f9deb863147343c0527582d8e45619bec3b7aaf3bbe045e41a33e306eacc20f946c971a8164935a  xfce4-notifyd-0.6.3.tar.bz2
"
